package com.bdqn.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.entity.UmsReceiverAddress;
import com.bdqn.entity.responseDate.ums.UmsReceiverAddressDto;
import com.bdqn.mapper.UmsReceiverAddressMapper;
import com.bdqn.service.UmsReceiverAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户收货地址表 服务实现类
 * </p>
 *
 * @author hunter
 * @since 2022-04-30
 */
@Service
public class UmsReceiverAddressServiceImpl extends ServiceImpl<UmsReceiverAddressMapper, UmsReceiverAddress> implements UmsReceiverAddressService {
 @Autowired
 private UmsReceiverAddressMapper umsReceiverAddressMapper;
    @Override
    public List<UmsReceiverAddressDto> umsReceiverAddressDto(Long userId) {
        return umsReceiverAddressMapper.umsReceiverAddressDto(userId);
    }
}
